BIN = serial
OBJS = serial.o
CFLAGS = -Wall -Os
INCLUDES = 
LIBS = 

.PHONY: all

all: $(BIN)

$(BIN): $(OBJS)
	$(CC) $(OBJS) -o $(BIN) $(LIBS)

%.o: %.c
	$(CC) -c $< -o $@ $(CFLAGS) $(INCLUDES)

clean:
	rm $(BIN) $(OBJS)
